#!/bin/bash
web=(192.168.190.10 192.168.190.11 192.168.190.12)
for host in ${web[@]};do
    echo -e "\033[35m $host \033[0m"
    ssh root@$host "uptime"
done